import React from 'react'; //react核心库
import ReactDOM from 'react-dom'; //reactdom操作库
import './index.css'; //全局样式
import App from './components/app/App'; //引入根组件
import { BrowserRouter as Router } from 'react-router-dom'


ReactDOM.render(<Router><App /></Router>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals